
ac.skill('熔岩一击'){
    temp = '攻击触发',
    model1 = [[455.mdl]],
    on_run = function(self,hero,target)
        local point1 = hero:get_point()
        local point2 = target:get_point()
        local damage = self:dmg_get()
        local angle = point1 / point2
        local lock = {}
        for a=0,2 do
            local point = point2 - {angle,350*a}
            ac.wait(a*100,function()
                point:effect{
                    model = self.model1,
                    size = 0.75,
                    time = 1,
                }
                ac.wait(200,function()
                    hero:aoe_damage(point,250,damage,self,lock)
                end)
            end)
        end
    end
}